<!doctype html>
<html >
<head>
<include file="Public:headinc" />
<include file="Public:pagestyle" />
</head>
<body>
	<div class="y-container">
		<div class="y-pagetitle">
			Tag 列表
		</div>
		<div class="y-toolbar">
			<a href="{:U('Tags/addTag')}" class="y-btn"><span>按钮</span></a>
		</div>
		<div class="y-list">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<th >id</th>
					<th >标签名</th>
					<th >操作</th>
				</tr>
<?php for($i=0,$c=count($data); $i<$c; $i++) { ?>
<tr >
	<td>{$data[$i]['id']}</td>
	<td>{$data[$i]['tagname']} &nbsp;</td>
	<td>
		<a href="{:U('Tags/editTag', 'id='.$data[$i]['id'])}">编辑</a>&nbsp;&nbsp;
		<a href="{:U('Tags/delTag', 'id='.$data[$i]['id'])}">删除</a>&nbsp;&nbsp;
	</td>
</tr>
<?php } ?>			
			</table>
<div class="page">
{$pageString}
</div>
		</div>
		<div class="y-toolbar">
			<a href="{:U('Tags/addTag')}" class="y-btn"><span>按钮</span></a>
		</div>
	</div>
</body>
</html>
